﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CustomerInfoAdd.aspx.cs" Inherits="ITOMMS.Web.InsideManage.CustomerInfoAdd" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>客户信息添加</title>
    <link href="../css/layout.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" id='skin' type="text/css" href="../css/skin/qq/ymPrompt.css" />
    <link rel="stylesheet" id='Link1' type="text/css" href="../css/jquery.Validator.Tooltip.css" />

    <script type="text/javascript" src="../js/jquery.pack.js"></script>

    <script type="text/javascript" src="../js/jquery.Validator.js"></script>

    <script type="text/javascript" src="../js/ymPrompt.js"></script>

    <!--用到日期控件才使用-->

    <script language="javascript" type="text/javascript" src="../js/My97DatePicker/WdatePicker.js"></script>


</head>
<body>
    <form id="aspnetForm" runat="server">
        <div id="message" style="background-color: Red">
        </div>
        <table class="tblDataArea" width="100%">
            <tr class="tblQueryArea">
                <td class="tblDataCaption" colspan="6">
                    <div style="width: 210px;" class="title">
                        <img src="../images/lv3.gif" style="margin-bottom: -3px;" alt="" />客户信息添加</div>
                    <asp:Button ID="btnBack" CssClass="cssButton" runat="server" Text="返回" OnClick="btnBack_Click"  /></td>
            </tr>
            <tr>
                <td class="tdQueryField" colspan="6">
                    客户信息</td>
            </tr>
            <tr>
                <td class="tdQueryCaption" style="width: 76px">
                    公司名称：
                </td>
                <td class="tdQueryField" colspan="3">
                    <asp:TextBox ID="txt公司名称" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'" Width="254px"></asp:TextBox><span style="color: #ff0000">*</span></td>
                <td class="tdQueryCaption">
                    服务项目：</td>
                <td class="tdQueryField" style="width: 153px"><asp:DropDownList ID="ddl服务项目" runat="server" Width="123px">
                </asp:DropDownList></td>
            </tr>
            <tr>
                <td class="tdQueryCaption" style="width: 76px">
                    公司地址：</td>
                <td class="tdQueryField" colspan="3">
                    <asp:TextBox ID="txt公司地址" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'" Width="396px"></asp:TextBox></td>
                <td class="tdQueryCaption">
                    公司规模：</td>
                <td class="tdQueryField" style="width: 153px">
                    <asp:TextBox ID="txt公司规模" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="tdQueryCaption" style="width: 76px">
                    公司电话：</td>
                <td class="tdQueryField" colspan="3">
                    <asp:TextBox ID="txt公司电话" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'"></asp:TextBox></td>
                <td class="tdQueryCaption">
                    传  真：</td>
                <td class="tdQueryField" style="width: 153px">
                    <asp:TextBox ID="txt公司传真" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="tdQueryCaption" style="width: 76px">
                    电子邮箱：</td>
                <td class="tdQueryField" colspan="3">
                    <asp:TextBox ID="txt公司邮箱" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'"></asp:TextBox></td>
                <td class="tdQueryCaption">
                    网  站：</td>
                <td class="tdQueryField" style="width: 153px">
                    <asp:TextBox ID="txt公司网站" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="tdQueryCaption" style="width: 76px">
                    负责人(1)：</td>
                <td class="tdQueryField">
                    <asp:TextBox ID="txt负责人1" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'"></asp:TextBox></td>
                <td class="tdQueryCaption">
                    电话：</td>
                <td class="tdQueryField">
                    <asp:TextBox ID="txt电话1" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'"></asp:TextBox></td>
                <td class="tdQueryCaption">
                    手 机：</td>
                <td class="tdQueryField" style="width: 153px">
                    <asp:TextBox ID="txt手机1" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="tdQueryCaption" style="width: 76px">
                    负责人(2)：</td>
                <td class="tdQueryField">
                    <asp:TextBox ID="txt负责人2" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'"></asp:TextBox></td>
                <td class="tdQueryCaption">
                    电话：</td>
                <td class="tdQueryField">
                    <asp:TextBox ID="txt电话2" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'"></asp:TextBox></td>
                <td class="tdQueryCaption">
                    手 机：</td>
                <td class="tdQueryField" style="width: 153px">
                    <asp:TextBox ID="txt手机2" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="tdQueryCaption" style="width: 76px">
                    工作时间：</td>
                <td class="tdQueryField" colspan="5">
                    &nbsp;<asp:TextBox ID="txt工作时间" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout='';WdatePicker({skin:'blue',dateFmt:'yyyy-MM-dd HH:mm:ss'});"
                        onmousemove="this.className='input_move'" onmouseout="this.className='input_out'"></asp:TextBox>
                    <asp:CheckBox ID="CheckBox1" runat="server" Text="5*8小时" />&nbsp;<asp:CheckBox ID="CheckBox2"
                        runat="server" Text="6*8小时" />&nbsp; 上班时间:
                    <asp:TextBox ID="txt上班时间" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout='';WdatePicker({skin:'blue',dateFmt:'yyyy-MM-dd HH:mm:ss'});"
                        onmousemove="this.className='input_move'" onmouseout="this.className='input_out'"></asp:TextBox>&nbsp; 下班时间:<asp:TextBox ID="txt下班时间" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout='';WdatePicker({skin:'blue',dateFmt:'yyyy-MM-dd HH:mm:ss'});"
                        onmousemove="this.className='input_move'" onmouseout="this.className='input_out'"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="tdQueryCaption" style="width: 76px">
                    附件上传：</td>
                <td class="tdQueryField" colspan="5">
                    <asp:FileUpload ID="FileUpload1" runat="server" CssClass="input_out" Width="403px" />
                    <asp:Label ID="Label1" runat="server" Visible="false"><a href='../UpLoadFiles/<%=sAttachment%>' target="_blank"><img src="../images/icon_download_02.gif" alt="." style="margin-bottom:-5px"/>下载附件</a></asp:Label></td>
            </tr>
            <tr>
                <td class="tdQueryField" colspan="6">
                    客户IT信息</td>
            </tr>
            <tr>
                <td class="tdQueryCaption" style="width: 76px">
                    台式电脑：</td>
                <td class="tdQueryField" >
                    <asp:TextBox ID="txt台试电脑" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'"></asp:TextBox></td>
                <td class="tdQueryCaption" >
                    笔记本电脑：</td>
                <td class="tdQueryField" >
                    <asp:TextBox ID="txt笔记本电脑" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'"></asp:TextBox></td>
                <td class="tdQueryCaption" >
                    服务器：</td>
                <td class="tdQueryField" style="width: 153px" >
                    <asp:TextBox ID="txt服务器" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout='';"
                        onmousemove="this.className='input_move'" onmouseout="this.className='input_out'"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="tdQueryCaption" style="width: 76px">
                    路由器：</td>
                <td class="tdQueryField" >
                    <asp:TextBox ID="txt路由器" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'"></asp:TextBox></td>
                <td class="tdQueryCaption" >
                    集线器：</td>
                <td class="tdQueryField" >
                    <asp:TextBox ID="txt集线器" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'"></asp:TextBox></td>
                <td class="tdQueryCaption" >
                    Moden：</td>
                <td class="tdQueryField" style="width: 153px" >
                    <asp:TextBox ID="txtModen" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout='';"
                        onmousemove="this.className='input_move'" onmouseout="this.className='input_out'"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="tdQueryCaption" style="width: 76px">
                    交换机：</td>
                <td class="tdQueryField">
                    <asp:TextBox ID="txt交换机" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'"></asp:TextBox></td>
                <td class="tdQueryCaption" >
                    电话交换//语音/其它：</td>
                <td class="tdQueryField" colspan="3">
                    <asp:TextBox ID="txt电话交换" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'" Width="350px"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="tdQueryCaption" style="width: 76px">
                    VPN：</td>
                <td class="tdQueryField">
                    <asp:TextBox ID="txtVPN" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'"></asp:TextBox></td>
                <td class="tdQueryCaption">
                    邮件服务：</td>
                <td class="tdQueryField">
                    <asp:TextBox ID="txt邮件服务" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'"></asp:TextBox></td>
                <td class="tdQueryCaption">
                    网站服务：</td>
                <td class="tdQueryField" style="width: 153px">
                    <asp:TextBox ID="txt网站服务" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="tdQueryCaption" style="width: 76px">
                    打印机：</td>
                <td class="tdQueryField">
                    <asp:TextBox ID="txt打印机" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'"></asp:TextBox></td>
                <td class="tdQueryCaption">
                    复印机：</td>
                <td class="tdQueryField">
                    <asp:TextBox ID="txt复印机" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'"></asp:TextBox></td>
                <td class="tdQueryCaption">
                    扫描仪：</td>
                <td class="tdQueryField" style="width: 153px">
                    <asp:TextBox ID="txt扫描仪" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="tdQueryCaption" style="height: 81px; width: 76px;">
                    其他要求：</td>
                <td class="tdQueryField" colspan="5" style="height: 81px">
                    <asp:TextBox ID="txt其它要求" runat="server" class="input_out" Height="72px" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'" TextMode="MultiLine" Width="450px"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="tdQueryField" colspan="6" style="height: 17px">
                    服务方式</td>
            </tr>
            <tr>
                <td class="tdQueryCaption" style="height: 17px; width: 76px;">
                    5x8小时服务：</td>
                <td class="tdQueryField" colspan="5" style="height: 17px">
                    <asp:TextBox ID="txt五八小时服务" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="tdQueryCaption" style="height: 17px; width: 76px;">
                    应急响应次数：</td>
                <td class="tdQueryField" colspan="5" style="height: 17px">
                    <asp:TextBox ID="txt应急响应次数" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="tdQueryCaption" style="height: 17px; width: 76px;">
                    备注：</td>
                <td class="tdQueryField" colspan="5" style="height: 17px">
                    <asp:TextBox ID="txt备注" runat="server" class="input_out" Height="72px" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'" TextMode="MultiLine" Width="450px"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="tdQueryCaption" style="height: 17px; width: 76px;">
                    负责人：</td>
                <td class="tdQueryField" colspan="1" style="height: 17px">
                    <asp:DropDownList ID="ddl负责人" runat="server" Width="123px">
                    </asp:DropDownList></td>
                <td class="tdQueryCaption" colspan="1" style="height: 17px">
                    日期时间：</td>
                <td class="tdQueryField" colspan="3" style="height: 17px">
                    <asp:TextBox ID="txt日期" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout='';WdatePicker({skin:'blue',dateFmt:'yyyy-MM-dd HH:mm:ss'});"
                        onmousemove="this.className='input_move'" onmouseout="this.className='input_out'"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="tblDataCaption" style="width: 76px">
                </td>
                <td class="tblDataCaption" colspan="5">
                    <asp:Button ID="btnSave" CssClass="cssButton" runat="server" Text="提交" OnClientClick="javascript:return confirm('你确认要提交吗?');"
                        OnClick="btnSave_Click" /></td>
            </tr>
        </table>
    </form>
</body>
</html>
            
<script type="text/javascript">

function check()
{
	if($.GetValidResult())/*验证表单*/
	{	
	    return true; 
	}
	else
	{
	    return false;
	}
}

    $("#txt公司名称").attr("dataType","Require");
    $("#txt公司名称").attr("tip", "公司名称不能为空");
    
    
    

        $("#txt应急响应次数").attr("dataType","Number");
        $("#txt应急响应次数").attr("require", "false");
        $("#txt应急响应次数").attr("tip", "请输入正确的数字格式");

  
    
   
      
                
</script>
